
import request from '@/tools/request'
import axios from 'axios'

// 新接口！！！！！！！！！！！！！！！！！！！！！///////////////////
//区块链快讯
export function blockchainAlerts(params = {},loading = false,) {
    return request({
        url: 'user/news/findBTCNewsByType.do?type=live',
        method: 'get',
        params,
        loading
    })
}

//金融快讯
export function financialExpress(params = {},loading = false,) {
    return request({
        url: '/proxygo/pxy?url_name=find_new',
        method: 'get',
        params,
        loading
    })
}

//财经要闻
export function newsOfFinanceAndEconomics(params = {},loading = false,) {
    return request({
        url: '/proxygo/pxy?url_name=finance',
        method: 'get',
        params,
        loading
    })
}

//要闻详情
export function newsDetails(params = {},loading = false,) {
    return request({
        url: '/proxygo/pxy?url_name=find_bt',
        method: 'get',
        params,
        loading
    })
}

//小喇叭放交易记录滚屏
export function recordTheVolume(params = {},loading = false,) {
    return request({
        url: '/proxygo/pxy?url_name=index_report',
        method: 'get',
        params,
        loading
    })
}

//涨跌幅
export function priceLimit(params = {},loading = false,) {
    return request({
        url: 'quota/quota/getAllNewlyQuotaData.do',
        method: 'get',
        params,
        loading
    })
}